package com.xy.blog.user.mapstruct;

import com.xy.blog.core.converter.mapstruct.config.ObjectWrapperMapper;
import com.xy.blog.user.dao.model.rel.UserAttrDO;
import com.xy.blog.user.service.model.UserAttrBO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2020/3/14
 */
@Mapper(componentModel = "spring",uses = ObjectWrapperMapper.class)
public interface UserAttrConverter {

    UserAttrBO do2Bo(UserAttrDO userAttrDO);

    List<UserAttrBO> do2Bo(List<UserAttrDO> userAttrDO);
}
